package _my_demo.calculateArea;

public class ShapeTest {
    public static void main(String[] args) {
        Shape circle = new Circle(2.3);
        Shape rectangle = new Rectangle(2.3, 2);

        System.out.println("圆的面积：" + circle.calculateArea());
        System.out.println("矩形的面积：" + rectangle.calculateArea());
    }
}
